﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JiHuaZXQK.aspx.cs" Inherits="Web.Pages.YongShui._15.BaoBiaoGL.DanJuDY.JiHuaZXQK" Theme="Default"%>
<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>计划通知单</title>
    <script src="../../../../JS/jquery.js" type="text/javascript"></script>
    <script src="../../../../JS/AddEditCancel.js" type="text/javascript"></script>
    <script src="../../../../PageJS/wap.js"></script>
    <link href="../../../../css/inputBgColor.css" rel="stylesheet"/>
    <style type="text/css">
        body, html {
            font-size: 12px;
            margin: 0;
            padding: 0;
        }

        #img table tr td div { cursor: pointer; }


    </style>
    <script type="text/javascript">
        $(function() {
            var height = Math.max(0, document.documentElement.clientHeight) - 90;
            $("#condition").css("height", height);
        });

        function GVScrollToVisibleIndexOnClient(obj, index) {
            obj.SetVerticalScrollPosition(index * 25);
        }

        function print() {
            var startIndex = "";
            var endIndex = "";
            if (rbnBut2.GetChecked()) {
                startIndex = txtYHH1.GetText();
            }
            if (rbnBut3.GetChecked()) {
                startIndex = txtYHH2.GetText();
                endIndex = txtYHH3.GetText();
            }
            var params = new Array();
            params.push("V_YONGHUHKS:" + startIndex);
            params.push("V_YONGHUHJS:" + endIndex);
            wap.common.printjx('ZhangDanDY',
                [
                    { key: 'QUERYPARAM', value: params.join("|") },
                    { key: 'BAOBIAOID', value: "100293" },
                    { key: 'USERINFO', value: "csms" }
                ]);
        }
    </script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div class="tabletitle1" align="center">
    计划执行情况
</div>
<asp:UpdatePanel ID="updatePanel1" runat="server">
<ContentTemplate>
<div>

<div>
<fieldset style="border: 1px solid #d0e4fe">

<div>
    <div style="border: 1px solid #d0e4fe; float: left; width: 15%;" id="condition">
        <table style="height: 270px; width: 100%;">
            <tr>
                <td style="text-align: right; width: 40%;">
                    <span style="font-size: 12px;">区块名称：</span>
                </td>
                <td>
                    <asp:Panel runat="server" ID="Panel2">
                        <dx:ASPxComboBox runat="server" ID="cmbGuanLiK" Width="100%">
                        </dx:ASPxComboBox>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td style="text-align: right; width: 30%;">
                    <span style="font-size: 12px;">年月：</span>
                </td>
                <td>
                    <dx:ASPxTextBox runat="server" ID="txtShuiLiangYM" Width="100%" ClientInstanceName="txtShuiLiangYM">
                        <ClientSideEvents KeyUp="function(s,e){inputNum(s);}"/>
                    </dx:ASPxTextBox>

                </td>
            </tr>
            <tr>
                <td style="text-align: right; width: 30%;">
                </td>
                <td>
                    <dx:ASPxComboBox runat="server" ID="cmbShouFeiFS" Width="100%">
                        <Items>
                            <dx:ListEditItem Text="全部" Value="" Selected="true"  />
                            <dx:ListEditItem Text="托收" Value="1"   />
                            <dx:ListEditItem Text="非托收" Value="0"  />
                        </Items>
                    </dx:ASPxComboBox>
                    <dx:ASPxComboBox runat="server" ID="cmbTiaoZheng" Width="100%">
                        <Items>
                            <dx:ListEditItem Text="全部" Value="" Selected="true"  />
                            <dx:ListEditItem Text="已调整" Value="1"   />
                            <dx:ListEditItem Text="未调整" Value="0"  />
                        </Items>
                    </dx:ASPxComboBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <hr/>
                </td>
            </tr>
            <tr>
                <td>
                    <dx:ASPxLoadingPanel runat="server" ID="LoadPanel11" ClientInstanceName="LoadPanel" Text="正在查询"></dx:ASPxLoadingPanel>
                    <dx:ASPxButton runat="server" ID="btnChaXun" Text="查询" OnClick="btnChaXun_OnClick">
                        <ClientSideEvents Click="function(s,e){LoadPanel.Show();}"/>
                    </dx:ASPxButton>
                </td>
                <td>
                    <dx:ASPxButton ID="btnExport2" runat="server" Text="导出EXCEL">
                        <ClientSideEvents Click="function(s,e){btnExport.OnClick();}"/>
                    </dx:ASPxButton>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
</div>
<div style="border: 1px solid #d0e4fe; float: right; width: 84%;">
    <div>
        <table>
            <tr>
                <td>
                    <span style="font-size: 12px;">用户号：</span>
                </td>
                <td>
                    <dx:ASPxTextBox ID="txtYongHuH" Width="100%" runat="server">
                    </dx:ASPxTextBox>
                </td>
                <td style="padding-left: 5px;">
                    <dx:ASPxButton ID="btnDingWei" runat="server" Text="定位" OnClick="btnDingWei_OnClick" UseSubmitBehavior="false">
                    </dx:ASPxButton>
                </td>
                <td style="width: 20px;">&nbsp;</td>
                <td>
                    <dx:ASPxLabel ID="zjl" Text="共0条" runat="server" ForeColor="Blue"></dx:ASPxLabel>
                </td>
            </tr>
        </table>
    </div>
    <div>
        <dx:ASPxGridView ID="gvYongHuXX" ClientInstanceName="gvYongHuXX" runat="server" AutoGenerateColumns="False" KeyFieldName="S_YONGHUH"
                         ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" EnableCallBacks="true">
            <Columns>
                <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="10%">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="I_SHIYONGSL" Caption="用水量" Width="10%">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="I_JIAJIAL" Caption="加价水量" Width="10%">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="N_JIAJIAJE" Caption="加价金额" Width="10%">
                </dx:GridViewDataTextColumn>
                <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="40%">
                </dx:GridViewDataTextColumn>
            </Columns>
            <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto"/>
            <SettingsPager Mode="EndlessPaging" PageSize="100"/>
            <Settings ShowFooter="True"/>
            <SettingsBehavior AllowFocusedRow="True"/>
            <SettingsBehavior ProcessFocusedRowChangedOnServer="false"/>
            <ClientSideEvents Init="function(s,e){AdjustSize(250,gvYongHuXX);}"/>
        </dx:ASPxGridView>
    </div>
    <br/>
    <hr/>

</div>
</fieldset>
</div>
</div>
</ContentTemplate>

</asp:UpdatePanel>
<div style="display: none;">
    <dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server"></dx:ASPxGridViewExporter>
    <dx:ASPxButton ID="btnExport" runat="server" ClientInstanceName="btnExport" Text="导出EXCEL" OnClick="btnExport_OnClick" UseSubmitBehavior="false">
    </dx:ASPxButton>
</div>
</form>
</body>
</html>